export default{
    namespaced:true,
    state:{
        itemIndex:0
    },
    mutations: {
        setIndex(state, index) {
            state.itemIndex = index;
        }
    },
    getters: {
        getIndex: state => {
            return state.itemIndex;
        }
    }
}